package com.ruoyi.lvlian.vo;


import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.core.utils.StringUtils;
import com.ruoyi.lvlian.domain.InvoiceInfo;
import com.ruoyi.lvlian.domain.OrderInfo;
import com.ruoyi.lvlian.domain.VehicleInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonSetter;

import javax.validation.constraints.NotNull;

/**
 * 完税（发票）信息列表查询视图层实体类
 */
@Data
@ToString
@ApiModel(value = "跟单信息", description = "跟单信息vo信息")
public class OrderInfoVo extends OrderInfo {
    private Long userId;
    private String userName;
    private String nickName;
    private String phonenumber;


/*    @ApiModelProperty(value = "车辆入网状态 0为入网 1已入网")
    private int netStatus;
    @ApiModelProperty(value = "车牌颜色  (黄色/蓝色/黄绿色)")
    private String plateColor;*/
    @ApiModelProperty(value = "驾驶证号")
    private String licenseNo;

    private String buyerCompanyName;
    private String buyerName;
    private String buyerPhone;


    private VehicleInfo vehicleInfo ;

    @ApiModelProperty(value = "跟车方已发起状态取start  运输已用时 当前系统时间减去 运输中已经用时使用")
    private long usedTime;

    @ApiModelProperty(value = "待跟车方发起状态取before_start  剩余关闭时间    司机倒计时使用 ")
    private long closeTime;



    private String plateColor;
    private String netStatus;

    public String getPlateColor() {
        return vehicleInfo.getPlateColor();
    }

    public String getNetStatus() {
        return vehicleInfo.getNetStatus();
    }
}